﻿// JScript File
var xmlhttp ;

function CreateXMLHttpRequest(funcHandleResponseFromServer)
{
	if (window.ActiveXObject)
		xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	else
		xmlhttp = new XMLHttpRequest();

	if (funcHandleResponseFromServer != null)
		xmlhttp.onreadystatechange=funcHandleResponseFromServer;
	
}

function SendGetMessage(url)
{
	url = url + "&t=" + new Date().getTime();
	xmlhttp.open("GET", url);
	xmlhttp.send(null);
}

function fncFillDay()
{
var year = document.getElementById("ddlYear1").value;
var month = document.getElementById("ddlMonth1").value;
var url = "aGetDay.aspx?year=" + year "&month="+month;
CreateXMLHttpRequest(fncFillDay_ResponseFromServer);
SendGetMessage(url);
}

function fncFillDay_ResponseFromServer()
{
	if (xmlhttp.readyState == 4 &&
			xmlhttp.status == 200)
	{
		var kq = xmlhttp.responseText;					
	
		window.document.getElementById("IDDay").innerHTML = kq;
	}
}
function fnc
